package com.xiaoge;

import com.xiaoge.service.UserService;
import org.aopalliance.intercept.MethodInterceptor;
import org.aopalliance.intercept.MethodInvocation;
import org.springframework.aop.framework.ProxyFactoryBean;
import org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

import javax.annotation.Nonnull;
import javax.annotation.Nullable;

/**
 * TODO
 *
 * @author <a href="mailto:1330137071@qq.com">Zhang Xiao</a>
 * @since
 */
@EnableAspectJAutoProxy(proxyTargetClass = false) // todo proxyTargetClass为true表示用cglib, 为false就看他实现了接口没有实现了, 就用java动态代理, 没实现就是cglib
@ComponentScan("com.xiaoge")
public class AppConfig {






}
